class Date{
    public int year = 2023;
    public int month = 5;
    public int day = 27;
    public Date(){
        System.out.println("hhhh");
    }
    public Date(int year,int month,int day){

    }
    public void print(int year,int month,int day){
        System.out.println(year+"-"+month+"-"+day);
    }

    public void print() {
    }
}
public class Test {

    public static void main(String[] args) {
        Date d1 = new Date();
        Date d2 = new Date(2021,6,5);
        d1.print();
        d2.print();
    }
}
